quartz: filter out button press events on the window frame
authorMichael Natterer <mitch@gimp.org>
Thu, 15 Nov 2012 10:34:15 +0000 (11:34 +0100)
committerMichael Natterer <mitch@gimp.org>
Thu, 15 Nov 2012 11:35:58 +0000 (12:35 +0100)
commited5d7fed89ff13ab04803a006bdce858006584f3
tree3bdeaed41cb3d4a2560e8aeb75b1b50e3fe102fc
parent2f8c2a32445128e5f9eb5a4e3295fb691df5bc4d
quartz: filter out button press events on the window frame

Don't try to handle button press events on the window frame, they
have out-of-window coordinates. Also, break grabs on such events
so popup menus go away.
Patch from Kristian Rietveld, fixes bug 684419.
(cherry picked from commit 43e1354b71640d3fb7a47b997a436dc65bbd922f)
gdk/quartz/gdkevents-quartz.c